<%@ page import="duylinh.NguyenCong" %>

<table>
    <tr>
        <td>
            <g:message code="themNguyenCong.ten"/>
        </td>
        <td>
            <input type="text" name="ten" size="30" value="${nguyenCongInstance?.ten}" />
            <span class="fontSmall">
                <g:message code="themNguyenCong.ten.title"/>
            </span>
        </td>
    </tr>

    <tr>
        <td>
            <g:message code="themNguyenCong.toSanXuat"/>
        </td>
        <td>
            <span class="marginRightLarge">
                <g:select name="toSanXuat.id"
                          from="${duylinh.ToSanXuat.list()}"
                          optionValue="ten"
                          optionKey="id"
                          value="${nguyenCongInstance?.toSanXuat?.id}"
                />
            </span>
        </td>
    </tr>

    <tr>
        <td>
            <g:message code="themNguyenCong.may"/>
        </td>
        <td>
            <input type="text" name="may" size="30" value="${nguyenCongInstance?.may}" />
        </td>
    </tr>


    <tr>
        <td>
            <g:message code="themNguyenCong.motaNhanCong"/>
        </td>
        <td>
            <input type="text" name="motaNhanCong" size="30" value="${nguyenCongInstance?.motaNhanCong}" />
        </td>
    </tr>

    <tr>
        <td>
            <g:message code="themNguyenCong.sanluongTB"/>
        </td>
        <td>
            <span class="marginRightStd">
                <input type="text" name="sanluongTB" size="10" value="${nguyenCongInstance?.sanluongTB}" />
            </span>



            <g:message code="themNguyenCong.sanluongTBDV"/>
            <input type="text" name="sanluongTBDV" size="10" value="${nguyenCongInstance?.sanluongTBDV}" />
            <span class="fontSmall">
                <g:message code="themNguyenCong.sanluongTBDV.title"/>
            </span>
        </td>
    </tr>


    <tr>
        <td>
            <g:message code="themNguyenCong.khuanGa"/>
        </td>
        <td>
            <input type="text" name="khuanGa" size="30" value="${nguyenCongInstance?.khuanGa}"/>
        </td>
    </tr>

    <tr>
        <td>
            <g:message code="themNguyenCong.ghiChu"/>
        </td>
        <td>
            <g:textArea name="ghiChu" rows="20" cols="5" >${nguyenCongInstance?.ghiChu}</g:textArea>
        </td>
    </tr>

</table>


